﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Torch_IServices
{
    /// <summary>
    /// 专业分配
    /// </summary>
    public interface ISubjectPermissionService
    {
        Task<int> AddSubjectPermissionAsync(int subjectId,int staffId);
        Task<int> EditSubjectPermissionAsync(int id, int subjectId, int staffId);
        Task<int> DeleteSubjectPermissionAsync(int id);
        Task<List<SubjectPermissionDto>> QuerySubjectPermissionAllAsync();
        Task<SubjectPermissionDto> QuerySubjectPermissionByIdAsync(int id);
        //Task<List<SubjectPermissionDto>> GetSubjectPermissionByNameAsync(string title);
    }
}
